home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / web / cweb.lha / cweb / README < prev    next >
Text File  |  1990-07-13  |  2KB  |  57 lines

  1. % Copyright (C) 1987 Princeton University
  2.  
  3. % This file is part of CWEB.
  4. % This program by Silvio Levy is based on a program by D. E. Knuth.
  5. % It is distributed WITHOUT ANY WARRANTY, express or implied.
  6. % $Revision 1.1$ -- Dec 1987
  7.  
  8. % Please send comments, suggestions, etc. to levy@princeton.
  9.  
  10. This directory contains the following files:
  11.  
  12. Makefile
  13. README
  14. common.c
  15. common.h
  16. common.web
  17. cwebmac.tex
  18. examples
  19. tangle.c
  20. tangle.web
  21. vms.ch
  22. weave.web
  23.  
  24. (If you got cweb by mail, you probably have weave.web.[12] instead of
  25. weave.web.  The first thing to say then is
  26.  
  27. cat weave.web.[12] > weave.web
  28.  
  29. )
  30.  
  31. In the directory examples there are additional examples of
  32. the use of CWEB.
  33. The files common.c and tangle.c are used for bootstrapping.
  34. Please touch tangle.c and common.c before proceeding.
  35.  
  36. To make tangle and weave say `make all'; this should produce the
  37. following actions:
  38.  
  39. cc -O -w -c tangle.c
  40. cc -O -w -c common.c
  41. cc -O -w -o tangle tangle.o common.o 
  42. ./tangle weave
  43. cc -O -w -c weave.c
  44.    (Some warning error messages will appear here; they're harmless)
  45. cc -O -w -o weave weave.o common.o
  46.  
  47. To install weave and tangle say `make install', after modifying
  48. DESTDIR and DESTPREF as desired.  At our site DESTPREF
  49. is empty, since the original version of WEB is almost never used;
  50. other sites may want to set DESTPREF=c, so the programs will be
  51. called `cweave' and `ctangle'.  (Perhaps `weave' and `tangle' should
  52. be shell scripts, with flags to choose between the PASCAL and C
  53. versions.)
  54.  
  55. A change file for vms is also provided.  There are only two
  56. changes, so common.c can be edited by hand.
  57.